package com.wjd.wshow.common.resource;

public enum ResourceType {
    FOLDER,
    VIDEO,
    IMAGE,
    THUMBNAIL;

    public static ResourceType parse(String type) {
        if (type == null) {
            return null;
        }
        try {
            return ResourceType.valueOf(type);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return null;
    }
}
